@import '@/styles/variables.scss';

.login-page {
  min-height: 100vh;
  padding: 60rpx 40rpx;
  
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80rpx;
    
    .logo {
      width: 180rpx;
      height: 180rpx;
      margin-bottom: 20rpx;
    }
    
    .title {
      font-size: 40rpx;
      font-weight: bold;
      color: $text-color-primary;
      margin-bottom: 10rpx;
    }
    
    .subtitle {
      font-size: 28rpx;
      color: $text-color-secondary;
    }
  }
  
  .login-form {
    margin-bottom: 80rpx;
    
    .input-group {
      display: flex;
      align-items: center;
      height: 100rpx;
      border-bottom: 1px solid $border-color;
      margin-bottom: 40rpx;
      
      .input-label {
        font-size: 30rpx;
        color: $text-color-primary;
        margin-right: 20rpx;
      }
      
      .input {
        flex: 1;
        height: 100%;
        font-size: 30rpx;
      }
      
      .code-btn {
        padding: 0 20rpx;
        height: 60rpx;
        line-height: 60rpx;
        background-color: $primary-color;
        color: #fff;
        font-size: 26rpx;
        border-radius: 30rpx;
        
        &.disabled {
          background-color: $text-color-placeholder;
        }
      }
    }
    
    .login-btn {
      height: 90rpx;
      line-height: 90rpx;
      text-align: center;
      background-color: $primary-color;
      color: #fff;
      font-size: 32rpx;
      border-radius: 45rpx;
      margin-top: 60rpx;
    }
    
    .privacy-policy {
      display: flex;
      align-items: center;
      margin-top: 20rpx;
      
      .policy-text {
        font-size: 24rpx;
        color: $text-color-secondary;
        margin-left: 10rpx;
      }
      
      .policy-link {
        color: $primary-color;
      }
    }
  }
  
  .divider {
    display: flex;
    align-items: center;
    margin: 60rpx 0;
    
    .line {
      flex: 1;
      height: 1px;
      background-color: $border-color;
    }
    
    .text {
      margin: 0 20rpx;
      font-size: 26rpx;
      color: $text-color-secondary;
    }
  }
  
  .third-party-login {
    display: flex;
    justify-content: center;
    
    .third-party-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      
      .icon {
        width: 80rpx;
        height: 80rpx;
        margin-bottom: 10rpx;
      }
      
      .text {
        font-size: 24rpx;
        color: $text-color-secondary;
      }
    }
  }
  
  .guest-login {
    text-align: center;
    margin-top: 80rpx;
    font-size: 28rpx;
    color: $text-color-secondary;
  }
} 